package com.pro.springbootshop.service;

import com.pro.springbootshop.entity.FlashEntry;
import com.pro.springbootshop.entityExtend.FlashEntryReturn;

public interface FlashEntryService {
    String saveFlashEntry(FlashEntry flashEntry, String token);
    FlashEntryReturn getAllFlashEntry(Integer page, Integer limit, Integer flashActivityId);

    String buyergetFlashEntry(String token, Integer flashActivityId);
    FlashEntryReturn getAllFlashEntry_admin(Integer page, Integer limit);
    FlashEntryReturn buyerIdGetFlashEntry(Integer page, Integer limit, String token);
    String changeFlashEntry(Integer flashEntryId, Integer buyState);
}